package com.hui.blog_server.service.impl;

import com.hui.blog_server.entity.Tags;
import com.hui.blog_server.mapper.TagsMapper;
import com.hui.blog_server.service.TagsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TagsServiceImpl implements TagsService {

    @Autowired
    public TagsMapper tagsMapper;

    @Override
    public List<Tags> getTags() {
        return tagsMapper.selectList(null);
    }
}
